var express = require('express');
var router = express.Router();



const {addAdvertising,getAdvertising,deleteAdvertising,getadvertisingByID}=require('../controllers/advertising');

router.post('/',addAdvertising);
router.get('/',getAdvertising);
router.get('/:_id',getadvertisingByID);
router.delete('/',deleteAdvertising)


module.exports = router;